package com.pureut.storage.export;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


/***
 * 采购入库入参 excl导出
 * Author:C
 * Date:2022/12/23 10:04
 * @DESC
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(18)
public class PurchaseReceiptExport {

    /**
     * 入库单号
     */
    @ExcelProperty("入库单号")
    @ColumnWidth(value = 20)
    private String receiptNo;

    /**
     * 收发类型
     */
    @ExcelProperty("收发类型")
    @ColumnWidth(value = 20)
    private String receiveType;

    /**
     * 采购订单号
     */
    @ExcelProperty("采购订单号")
    @ColumnWidth(value = 20)
    private String purchaseOrderNo;

    /**
     * 预计到货日期
     */
    @ExcelProperty("预计到货日期")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date estimatedTime;

    /**
     * 供应商名称
     */
    @ExcelProperty("供应商名称")
    @ColumnWidth(value = 20)
    private String supplierName;

    /**
     * 物料号码
     */
    @ExcelProperty("物料号码")
    @ColumnWidth(value = 20)
    private String materialNumber;

    /**
     * 物料编码
     */
    @ExcelProperty("物料编码")
    @ColumnWidth(value = 20)
    private String materialCode;

    /**
     * 物料名称
     */
    @ExcelProperty("物料名称")
    @ColumnWidth(value = 20)
    private String materialName;

    /**
     * 物料规格
     */
    @ExcelProperty("物料规格")
    @ColumnWidth(value = 20)
    private String materialSpec;

    /**
     * 毛重
     */
    @ExcelProperty("毛重")
    @ColumnWidth(value = 20)
    private String grossWeight;

    /**
     * 净重
     */
    @ExcelProperty("净重")
    @ColumnWidth(value = 20)
    private String netWeight;

    /**
     * 入库数量
     */
    @ExcelProperty("入库数量")
    @ColumnWidth(value = 20)
    private String receiptQuantity;

    /**
     * 批次号
     */
    @ExcelProperty("批次号")
    @ColumnWidth(value = 20)
    private String batchNo;

    /**
     * 仓储信息
     */
    @ExcelProperty("仓储信息")
    @ColumnWidth(value = 20)
    private String warehouseMessage;

    /**
     * 生产日期
     */
    @ExcelProperty("生产日期")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dateManufacture;

    /**
     * 入库人
     */
    @ExcelProperty("入库人")
    @ColumnWidth(value = 20)
    private String warehouseInBy;

    /**
     * 入库时间
     */
    @ExcelProperty("入库时间")
    @ColumnWidth(value = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date warehouseInTime;

}
